package com.rshare.domain.xs;

import java.util.Date;

import org.codehaus.jackson.map.annotate.JsonDeserialize;
import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.rshare.cloudapi.common.DateDeserializer;
import com.rshare.cloudapi.common.DateSerializer;
import com.rshare.cloudapi.domain.xs.SOFH;

/**
 * 销售交货单Info
 * 
 * @author wangxichao
 * @date 2016/5/13
 */

public class SOFHInfo extends SOFH {

	private static final long serialVersionUID = 1L;
	/**
	 * 销售交货单 创建SOFH类型的newData, modifyData, oldData
	 */
	private SOFH newData;// 用于存储前台界面当前的数据
	private SOFH modifyData;// 用于存储前台界面修改的数据
	private SOFH oldData;// 用于存储前台界面修改前的数据

	// 查询字段
	private String searchkhid;// 客户编码
	private String searchbmid;// 销售部门
	private String searchxsyid;// 销售员
	private Date searchjhfhrqb;// 起始计划发货日期
	private Date searchjhfhrqe;// 截止计划发货日期
	private Date searchywrqb;// 起始业务日期
	private Date searchywrqe;// 截止业务日期
	private String searchjhdid;// 交货单编码
	private String connectdbid; // 连接数据库
	private String searchfsbz;// 发送标志
	private String searchpoid;//客户订单号
	
	public String getSearchpoid() {
		return searchpoid;
	}

	public void setSearchpoid(String searchpoid) {
		this.searchpoid = searchpoid;
	}

	private String BMList;
	
	public String getBMList() {
		return BMList;
	}

	public void setBMList(String bMList) {
		BMList = bMList;
	}

	// 增加 mxjhdxh接收前端返回的序号
	private int mxjhdxh;

	public SOFH getNewData() {
		return newData;
	}

	public void setNewData(SOFH newData) {
		this.newData = newData;
	}

	public SOFH getModifyData() {
		return modifyData;
	}

	public void setModifyData(SOFH modifyData) {
		this.modifyData = modifyData;
	}

	public SOFH getOldData() {
		return oldData;
	}

	public void setOldData(SOFH oldData) {
		this.oldData = oldData;
	}

	public String getSearchkhid() {
		return searchkhid;
	}

	public void setSearchkhid(String searchkhid) {
		this.searchkhid = searchkhid;
	}

	public String getSearchbmid() {
		return searchbmid;
	}

	public void setSearchbmid(String searchbmid) {
		this.searchbmid = searchbmid;
	}

	public String getSearchxsyid() {
		return searchxsyid;
	}

	public void setSearchxsyid(String searchxsyid) {
		this.searchxsyid = searchxsyid;
	}

	@JsonSerialize(using = DateSerializer.class)
	public Date getSearchjhfhrqb() {
		return searchjhfhrqb;
	}

	@JsonDeserialize(using = DateDeserializer.class)
	public void setSearchjhfhrqb(Date searchjhfhrqb) {
		this.searchjhfhrqb = searchjhfhrqb;
	}

	@JsonSerialize(using = DateSerializer.class)
	public Date getSearchjhfhrqe() {
		return searchjhfhrqe;
	}

	@JsonDeserialize(using = DateDeserializer.class)
	public void setSearchjhfhrqe(Date searchjhfhrqe) {
		this.searchjhfhrqe = searchjhfhrqe;
	}

	@JsonSerialize(using = DateSerializer.class)
	public Date getSearchywrqb() {
		return searchywrqb;
	}

	@JsonDeserialize(using = DateDeserializer.class)
	public void setSearchywrqb(Date searchywrqb) {
		this.searchywrqb = searchywrqb;
	}

	@JsonSerialize(using = DateSerializer.class)
	public Date getSearchywrqe() {
		return searchywrqe;
	}

	@JsonDeserialize(using = DateDeserializer.class)
	public void setSearchywrqe(Date searchywrqe) {
		this.searchywrqe = searchywrqe;
	}

	public String getSearchjhdid() {
		return searchjhdid;
	}

	public void setSearchjhdid(String searchjhdid) {
		this.searchjhdid = searchjhdid;
	}

	public int getMxjhdxh() {
		return mxjhdxh;
	}

	public void setMxjhdxh(int mxjhdxh) {
		this.mxjhdxh = mxjhdxh;
	}

	public String getConnectdbid() {
		return connectdbid;
	}

	public void setConnectdbid(String connectdbid) {
		this.connectdbid = connectdbid;
	}

	public String getSearchfsbz() {
		return searchfsbz;
	}

	public void setSearchfsbz(String searchfsbz) {
		this.searchfsbz = searchfsbz;
	}

}
